@extends('layouts.default') @section('main')
<link rel="stylesheet" href="{{URL::asset('js/')}}/kindeditor-4.1.7/themes/default/default.css" />
<link rel="stylesheet" href="{{URL::asset('js/')}}/kindeditor-4.1.7/plugins/code/prettify.css" />
<script src="{{URL::asset('js/')}}/kindeditor-4.1.7/kindeditor.js" type="text/javascript"></script> 
<script charset="utf-8" src="{{URL::asset('js/')}}/kindeditor-4.1.7/lang/zh_CN.js"></script> 
<script charset="utf-8" src="{{URL::asset('js/')}}/kindeditor-4.1.7/plugins/code/prettify.js"></script>
<script type="text/javascript" src="{{URL::asset('js/')}}/ajaxfileupload.js"></script>
<script type="text/javascript" src="{{URL::asset('js/')}}/common.js"></script>
<script src="{{URL::asset('js/My97DatePicker/')}}/WdatePicker.js"></script> 
<script>
KindEditor.ready(function(K) {

		var editor1 = K.create('#reason', {
			uploadJson: "{{url('kindedit/upload')}}",
			fileManagerJson: "{{url('kindedit/manager')}}",
			allowFileManager: true,
			afterBlur: function() {
				this.sync();
			},
			items: ['source', '|', 'undo', 'redo', '|', 'cut', 'copy', 'paste', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript', 'superscript', 'clearhtml', 'quickformat', 'selectall', 'image', '/', 'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'table', 'hr', 'emoticons', 'pagebreak', 'anchor', 'link', 'unlink', '|'],
			readonlyMode : true
		});
		
});
</script>
<div id="content">
	<div id="content-header">
		<div id="breadcrumb">
			<a href="{{url('home')}}" title="返回首页" class="tip-bottom"><i
				class="icon-home"></i> 首页</a> <a href="{{url('activityapply/index')}}"
				class="tip-bottom">活动报名管理</a> <a href="#" class="current">活动报名详情</a>
		</div>
	</div>
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span9">
				<div class="widget-box">
					<div class="widget-title">
						<span class="icon"> <i class="icon-align-justify"></i>
						</span>
						<h5>活动报名详情</h5>
					</div>
					<div class="widget-content nopadding">
						<form action="{{url('activity/update')}}" method="post"
							class="form-horizontal" id="activityForm">
							<div class="control-group">
								<label class="control-label">报名人姓名 :</label>
								<div class="controls">
									<input type="text" class="span11" disabled="disabled" value="{{$apply->name}}"  />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">报名人电话 :</label>
								<div class="controls">
									<input type="text" class="span11" disabled="disabled" value="{{$apply->tel}}"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">活动名称 :</label>
								<div class="controls">
									<input type="text" class="span11" disabled="disabled" @if($apply->Activity) value="{{$apply->Activity->subject}}" @endif  />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">公司名称 :</label>
								<div class="controls">
									<input type="text" class="span11" disabled="disabled" value="{{$apply->company}}"  />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">报名端类型 :</label>
								<div class="controls">
									<input type="text" class="span11" disabled="disabled" value="{{$apply->type}}"  />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">职务 :</label>
								<div class="controls">
									<input type="text" class="span11" disabled="disabled" value="{{$apply->job}}"  />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">状态 :</label>
								<div class="controls">
									<label> <input type="radio" name="status" disabled="disabled" value="1" <?php if($apply->status == 1):?>checked="checked"<?php endif;?> /> 通过
									</label> <label> <input type="radio" name="status" disabled="disabled" value="0" <?php if($apply->status == 0):?>checked="checked"<?php endif;?> /> 等待
									</label>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">二维码地址 :</label>
								<div class="controls">
									<input type="text" class="span11" disabled="disabled" value="{{$apply->qrcode}}"  />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">是否验签 :</label>
								<div class="controls">
									<label> <input type="radio" name="signin" disabled="disabled" value="1" <?php if($apply->signin == 1):?>checked="checked"<?php endif;?> /> 是
									</label> <label> <input type="radio" name="signin" disabled="disabled" value="0" <?php if($apply->signin == 0):?>checked="checked"<?php endif;?> /> 否
									</label>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">拒绝理由 :</label>
								<div class="controls">
									<textarea class="span11" id="reason" >{{$apply->reason}}</textarea>
							</div>
							<div class="control-group">
								<label class="control-label">是否已读 :</label>
								<div class="controls">
									<label> <input type="radio" name="is_read" disabled="disabled" value="1" <?php if($apply->is_read == 1):?>checked="checked"<?php endif;?> /> 是
									</label> <label> <input type="radio" name="is_read" disabled="disabled" value="0" <?php if($apply->is_read == 0):?>checked="checked"<?php endif;?> /> 否
									</label>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">设备 :</label>
								<div class="controls">
									<label> <input type="radio" name="is_device" disabled="disabled" value="1" <?php if($apply->is_device == 1):?>checked="checked"<?php endif;?> /> 自带
									</label> <label> <input type="radio" name="is_device" disabled="disabled" value="0" <?php if($apply->is_device == 0):?>checked="checked"<?php endif;?> /> 不带
									</label>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">是否发送短信 :</label>
								<div class="controls">
									<label> <input type="radio" name="is_set_sms" disabled="disabled" value="1" <?php if($apply->is_set_sms == 1):?>checked="checked"<?php endif;?> /> 是
									</label> <label> <input type="radio" name="is_set_sms" disabled="disabled" value="0" <?php if($apply->is_set_sms == 0):?>checked="checked"<?php endif;?> /> 否
									</label>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">客户参加城市 :</label>
								<div class="controls">
									<input type="text" class="span11" disabled="disabled"  @if($apply->Zone)value="{{$apply->Zone->name}}"@endif   />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">创客空间 :</label>
								<div class="controls">
									<input type="text" class="span11" disabled="disabled" @if($apply->Maker)value="{{$apply->Maker->name}}"@endif   />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">是否已联系 :</label>
								<div class="controls">
									<label> <input type="radio" name="is_phone" disabled="disabled" value="1" <?php if($apply->is_phone == 1):?>checked="checked"<?php endif;?> /> 是
									</label> <label> <input type="radio" name="is_phone" disabled="disabled" value="0" <?php if($apply->is_phone == 0):?>checked="checked"<?php endif;?> /> 否
									</label>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
@stop
